package org.xshop.model;

import java.util.List;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import top.ibase4j.core.base.BaseModel;

/**
 * <p>
 * 商家
 * </p>
 *
 * @author ShenHuaJie
 * @since 2018-03-01
 */
@ApiModel("商家")
@TableName("t_seller")
@SuppressWarnings("serial")
public class TSeller extends BaseModel {

    @ApiModelProperty(value = "公司名称")
    @TableField("seller_name")
    private String sellerName;
    @ApiModelProperty(value = "联系人姓名")
    @TableField("contact_name")
    private String contactName;
    @ApiModelProperty(value = "联系人手机号")
    @TableField("contact_phone")
    private String contactPhone;
    @ApiModelProperty(value = "联系人邮箱")
    @TableField("contact_email")
    private String contactEmail;
    @ApiModelProperty(value = "主营类目")
    @TableField("main_business")
    private String mainBusiness;
    @ApiModelProperty(value = "排序")
    @TableField("sort_no")
    private Integer sortNo;

    @TableField(exist = false)
    private TSellerLicense license;
    @TableField(exist = false)
    private TSellerBank bank;
    @TableField(exist = false)
    private TSellerOrganization organization;
    @TableField(exist = false)
    private TSellerTaxCertificate taxCertificate;
    @TableField(exist = false)
    private List<TSellerQualification> qualifications;
    @TableField(exist = false)
    private List<TSellerBusiness> businesses;
    @TableField(exist = false)
    private List<TSellerBrand> brands;

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail;
    }

    public String getMainBusiness() {
        return mainBusiness;
    }

    public void setMainBusiness(String mainBusiness) {
        this.mainBusiness = mainBusiness;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public TSellerLicense getLicense() {
        return license;
    }

    public void setLicense(TSellerLicense license) {
        this.license = license;
    }

    public TSellerBank getBank() {
        return bank;
    }

    public void setBank(TSellerBank bank) {
        this.bank = bank;
    }

    public List<TSellerBusiness> getBusinesses() {
        return businesses;
    }

    public void setBusinesses(List<TSellerBusiness> businesses) {
        this.businesses = businesses;
    }

    public TSellerOrganization getOrganization() {
        return organization;
    }

    public void setOrganization(TSellerOrganization organization) {
        this.organization = organization;
    }

    public List<TSellerQualification> getQualifications() {
        return qualifications;
    }

    public void setQualifications(List<TSellerQualification> qualifications) {
        this.qualifications = qualifications;
    }

    public TSellerTaxCertificate getTaxCertificate() {
        return taxCertificate;
    }

    public void setTaxCertificate(TSellerTaxCertificate taxCertificate) {
        this.taxCertificate = taxCertificate;
    }

    public List<TSellerBrand> getBrands() {
        return brands;
    }

    public void setBrands(List<TSellerBrand> brands) {
        this.brands = brands;
    }
}
